<?php

/**
 * @name: HOTN LoginMenu
 * @author: HammerOnTheNail
 * @link: http://code.google.com/p/hotnloginmenu/
 */ 

if (!defined('e107_INIT')) { exit; }
global $tp;
$hotn_login_menu_shortcodes = $tp -> e_sc -> parse_scbatch(__FILE__);

/*
SC_BEGIN HLM_MAIN
global $HOTN_LOGIN_MAIN;
return $HOTN_LOGIN_MAIN;
SC_END

// Login template
SC_BEGIN HLM_LOGIN_USER_NAME
return "<input type='text' maxlength='30' value='' size='15' name='username' class='tbox' />";
SC_END

SC_BEGIN HLM_LOGIN_USER_PASSWORD
return "<input type='password' maxlength='20' value='' size='15' name='userpass' class='tbox' />";
SC_END

SC_BEGIN HLM_LOGIN_REMEMBER_ME
return "<input type='checkbox' checked='checked' value='1' name='autologin' />".HOTN_LOGIN_MAIN_REMEMBER_ME;
SC_END

SC_BEGIN HLM_LOGIN_SUBMIT
return "<input type='submit' value='".HOTN_LOGIN_MAIN_SUBMIT."' name='userlogin' class='button' />";
SC_END

SC_BEGIN HLM_LOGIN_REGISTRATION
return "<a title='".HOTN_LOGIN_MAIN_SIGNUP."' href='signup.php' class='signup'>".HOTN_LOGIN_MAIN_SIGNUP."</a>";
SC_END

SC_BEGIN HLM_LOGIN_LOST_PASSWORD
return "<a title='".HOTN_LOGIN_MAIN_LOST_PASSWORD."' href='fpw.php'>".HOTN_LOGIN_MAIN_LOST_PASSWORD."</a>";
SC_END

SC_BEGIN HLM_LOGIN_RESENDACTIVATIONEMAIL
return "<a title='".HOTN_LOGIN_MAIN_RESENDACTIVATIONEMAIL."' href='signup.php?resend' class='resend'>".HOTN_LOGIN_MAIN_RESENDACTIVATIONEMAIL."</a>";
SC_END

// Avatar template
SC_BEGIN HLM_LOGIN_USER_AVATAR
global $HOTN_LOGIN_AVATAR;
return "<a href='".e_BASE."usersettings.php'><img src='".$HOTN_LOGIN_AVATAR."' alt='' class='hotn_login_avatar' onmouseover='high(this)' onmouseout='low(this)'/></a>";
SC_END

SC_BEGIN HLM_LOGIN_LINK_BULLET
return "<img src='".THEME."images/bullet2.gif' alt='bullet' class='hotn_login_bullet' />";
SC_END

SC_BEGIN HLM_LOGIN_LINK_ADMIN
if(ADMIN == TRUE)
{
	return "<a href='".e_ADMIN.$adminfpage."' class='hotn_login_link_admin'>".HOTN_LOGIN_MAIN_LINK_ADMIN."</a>";
}
else
{
	return "";
}
SC_END

SC_BEGIN HLM_LOGIN_LINK_USER_SETTINGS
return "<a href='".e_BASE."usersettings.php' class='hotn_login_link_usersettings'>".HOTN_LOGIN_MAIN_LINK_USERSETTINGS."</a>";
SC_END

SC_BEGIN HLM_LOGIN_LINK_USER
return "<a href='".e_BASE."user.php?id.".USERID."' class='hotn_login_link_user'>".HOTN_LOGIN_MAIN_LINK_USER."</a>";
SC_END

SC_BEGIN HLM_LOGIN_LINK_LOGOUT
return "<a href='".e_BASE."?logout'>".HOTN_LOGIN_MAIN_LINK_LOGOUT."</a>";
SC_END

SC_BEGIN HLM_PM
global $HOTN_LOGIN_PM;
return $HOTN_LOGIN_PM;
SC_END

SC_BEGIN HLM_LOGIN_PM_CAPTION
return "<font class='hotn_login_pm_caption'>".HOTN_LOGIN_PM_CAPTION."</font>";
SC_END

SC_BEGIN HLM_LOGIN_PM_INBOX_ICON
return "<a href='".e_PLUGIN_ABS."pm/pm.php?inbox'><img src='".HOTN_LOGIN_PM_INBOX_ICON."'></a>";
SC_END

SC_BEGIN HLM_LOGIN_PM_INBOX_CAPTION
return "<a href='".e_PLUGIN_ABS."pm/pm.php?inbox'>".HOTN_LOGIN_PM_INBOX_CAPTION."</a>";
SC_END

SC_BEGIN HLM_LOGIN_PM_NEWPM
global $HOTN_LOGIN_PM_INBOX_UNREAD;
if ($HOTN_LOGIN_PM_INBOX_UNREAD<>0)
{
	return HOTN_LOGIN_PM_NEWPM;
}
else
{
	return "";
}
SC_END

SC_BEGIN HLM_LOGIN_PM_INBOX_ALL
global $HOTN_LOGIN_PM_INBOX_ALL;
return $HOTN_LOGIN_PM_INBOX_ALL;
SC_END

SC_BEGIN HLM_LOGIN_PM_INBOX_UNREAD
global $HOTN_LOGIN_PM_INBOX_UNREAD;
return $HOTN_LOGIN_PM_INBOX_UNREAD;
SC_END

SC_BEGIN HLM_LOGIN_PM_OUTBOX_ICON
return "<a href='".e_PLUGIN_ABS."pm/pm.php?outbox'><img src='".HOTN_LOGIN_PM_OUTBOX_ICON."'></a>";
SC_END

SC_BEGIN HLM_LOGIN_PM_OUTBOX_CAPTION
return "<a href='".e_PLUGIN_ABS."pm/pm.php?outbox'>".HOTN_LOGIN_PM_OUTBOX_CAPTION."</a>";
SC_END

SC_BEGIN HLM_LOGIN_PM_OUTBOX_ALL
global $HOTN_LOGIN_PM_OUTBOX_ALL;
return $HOTN_LOGIN_PM_OUTBOX_ALL;
SC_END

SC_BEGIN HLM_LOGIN_PM_OUTBOX_UNREAD
global $HOTN_LOGIN_PM_OUTBOX_UNREAD;
return $HOTN_LOGIN_PM_OUTBOX_UNREAD;
SC_END

SC_BEGIN HLM_LOGIN_PM_SEND
return "<a href='".e_PLUGIN_ABS."pm/pm.php?send'>".HOTN_LOGIN_PM_SEND_PM."</a>";
SC_END

SC_BEGIN HLM_ONLINE
global $HOTN_LOGIN_ONLINE;
return $HOTN_LOGIN_ONLINE;
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_ONLINE_USER
global $HOTN_LOGIN_ONLINE_USER;
return $HOTN_LOGIN_ONLINE_USER;
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_USER_CAPTION
return "<font class='hotn_login_online_user_caption'>".HOTN_LOGIN_ONLINE_USER_CAPTION."</font>";
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_USER_AVATAR
global $HOTN_LOGIN_AVATAR;
return $HOTN_LOGIN_AVATAR;
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_USER_NAME
global $HOTN_LOGIN_USER_NAME;
return $HOTN_LOGIN_USER_NAME;
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_USER_PLACE
global $HOTN_LOGIN_PAGE;
return $HOTN_LOGIN_PAGE;
SC_END

SC_BEGIN HLM_LOGIN_ONLINE_USER_PM
global $HOTN_LOGIN_ONLINE_USER_PM;
return $HOTN_LOGIN_ONLINE_USER_PM;
SC_END

*/
?>